Populate popovers from menu models
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2014 19:51:49 +0000 (14:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2014 20:11:51 +0000 (15:11 -0500)
commit2fea2d4dbd700a60c41f07e8bfc44e05d0ef1f26
tree255480cbb54738c24b3514affe86c00502d3d24f
parentbf9ce3ad2534d167e38689c8f4e67d0e5079c087
Populate popovers from menu models

This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.

https://bugzilla.gnome.org/show_bug.cgi?id=723014
docs/reference/gtk/gtk3-sections.txt
gtk/gtkpopover.c
gtk/gtkpopover.h